<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/base/main/pubInclude.jsp" %>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
	<title><spring:message code="base.dept.dept.departmentManagement"/></title>
	<script type="text/javascript" src="${el:getWebRootPath()}/resource/js/sea.js"></script>
</head>

<body class="easyui-layout" style="margin: 0;padding:0;">
	<div data-options="region:'north',border:false,height:'auto'" style="width:100%;background:transparent">
		<form id="searchform">
			<div class="tabseach clear">
			     <div class="groundform clear">
			          <label>组织名称：</label>
			          <div class="inputWidth">
			               <input class="easyui-textbox" name="deptName" data-options="prompt:'请输入组织名称'">
			          </div>
			     </div>
			     <%-- <div class="groundform clear">
			          <label><spring:message code="base.dept.add.parentDepartment" />：</label>
			          <div class="inputWidth">
			                <input class="easyui-textbox" id="searchDeptParentName" data-options="prompt:'<spring:message code="base.dept.add.pleaseChooseTheParentDepartment" />',editable:false">
			                <input type="hidden" id="searchDeptParent" name="deptParent">
			          </div>
			     </div> --%>
			     <%-- <div class="groundform clear">
			          <label><spring:message code="base.dept.upd.availableState" />：</label>
			          <div class="inputWidth">
			               <input id="searchState" class='easyui-combobox' name="status">
			          </div>
			     </div>
			     <div class="groundform clear">
			          <label><spring:message code="base.dept.add.sectorNature" />：</label>
			          <div class="inputWidth">
			               <input id="searchDeptType" class='easyui-combobox' name="deptType">
			          </div>
			     </div> --%>
			</div>
			<%-- <input class="easyui-textbox" id="searchDeptParentName" data-options="prompt:'<spring:message code="base.dept.add.pleaseChooseTheParentDepartment" />',editable:false"> --%>
			<input type="hidden" id="searchDeptParent" name="deptParent">
		</form>
	</div>
	<div data-options="region:'west',split:false,border:false,width:200" class="marginTop" style="background:transparent">
		<div id="deptTree" ></div>
	</div>
	<div data-options="region:'center',split:false,border:false" class="marginTop" style="background:transparent">
		<table id="dg"></table>
	</div>
	<div id="adddlg" class="easyui-dialog" title="" style="width:400px;height:400px;overflow-y:auto;" data-options="iconCls:'icon-save',resizable:false,modal:true,closed:true">
    </div>
    <div id="treeselecter" class="easyui-dialog" style="width:300px;height:400px;overflow-y:auto;" data-options="title:'',iconCls:'icon-save',resizable:false,modal:true,closed:true,buttons:[]">
	</div>
    <div id="treeselecter1" class="easyui-dialog" style="width:300px;height:400px;overflow-y:auto;" data-options="title:'',iconCls:'icon-save',resizable:false,modal:true,closed:true,buttons:[]">
	</div>
	<div id="addAreaInputDialog" class="easyui-dialog" style="width:300px;height:400px;overflow-y:auto;" data-options="title:'',iconCls:'icon-save',resizable:false,modal:true,closed:true,buttons:[]">
	</div>
	<div id="editAreaInputDialog" class="easyui-dialog" style="width:300px;height:400px;overflow-y:auto;" data-options="title:'',iconCls:'icon-save',resizable:false,modal:true,closed:true,buttons:[]">
	</div>
</body>
<script>
	
	seajs.use("base/dept/js/dept",function(app){
		app.trans(); //IE onload 执行时间比chrome早 导致 app在父级页面获取为 undefined  无法执行 trans 方法
	});
</script>
</html>